package com.hwj.mapper;

import com.github.pagehelper.PageInfo;
import com.hwj.entity.PetScience;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【t_pet_science】的数据库操作Mapper
* @createDate 2024-03-10 16:30:58
* @Entity com.hwj.entity.PetScience
*/
@Mapper
public interface PetScienceMapper {

    int deleteByPrimaryKey(Long id);

    int insert(PetScience record);

    int insertSelective(PetScience record);

    PetScience selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PetScience record);

    int updateByPrimaryKey(PetScience record);

    List<PetScience> getByType(String type);

    List<PetScience> getByTag(String tag);

    List<PetScience> listByPage(@Param("name") String name,@Param("type") String type);
}
